var onListItemClick = function(obj) {
    var uinid = $(".uinid", obj).text();
    var listhistory = $(".listhistory");
    var listitems = $(".listitem", listhistory);
    var uin = null;
    //查看列表是否已经存在对话记录
    listitems.each(function(element) {
        uin = element;
        if ($(".uinid", element).text() == uinid) return false;
    }, this);

    if (!uin) {
        listhistory.append(obj);
    }
}